#ifndef GETROOMLISTRESP_H
#define GETROOMLISTRESP_H

#include "protosrvresp.h"
#include "roommanager.h"
#include <map>

class GetRoomListResp : public ProtoSrvResp
{
public:
    typedef std::map<std::string,std::pair<quint8,bool> > RoomMap;
    GetRoomListResp();

    bool	encode(ACE_OutputCDR &cdr);
    ProtoSrv*	decode(ACE_InputCDR &cdr);

    RoomMap getRoomsInfo() const {return _rooms_list;}
    void	print();
private:
    RoomMap _rooms_list;
};

#endif // GETROOMLISTRESP_H
